﻿namespace Attacher
{
	using System.Windows;

	class ContextMenuHeaderAttachedProperty
	{
		public static readonly DependencyProperty HeaderProperty = DependencyProperty.RegisterAttached("Header", typeof(object), typeof(ContextMenuHeaderAttachedProperty));

		public static object GetHeader(DependencyObject obj)
		{
			return obj.GetValue(HeaderProperty);
		}

		public static void SetHeader(DependencyObject obj, object value)
		{
			obj.SetValue(HeaderProperty, value);
		}
	}
}
